Chapter 5 Crop map generations
As OPTAIN takes into account the individual field, we need to know what is growing on which field and when. Unfortunately our data foundation for this task is quite lackluster, but we will try out best to do so. in the following chapter.
require(sf)
require(dplyr)
require(readr)
require(stringr)
require(mapview)
require(readxl)
require(reshape2)
require(tibble)
require(DT)5.1 Farm and field area
We have data based on what area certain crops have per farm. In order to relate this to our spatial land use map, we require the area of both the farms, and the fields within these farms.
The basis for these calculations comes from the BuildR output: (REF header here)
lu_sf <- read_sf("model_data/cs10_setup/optain-cs10/data/vector/land.shp")
lu_map <- mapview(lu_sf, zcol = "type")
lu_map